package com.tarena.lbs.user.pojo.query;

import com.tarena.lbs.base.protocol.pager.BasePageQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
public class UserListQuery extends BasePageQuery implements Serializable {
    private String userName;
    private String phone;
    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date endTime;
}
